import req from '@/utils/axios.js';
import * as url from '@/constants/api.js'


export function login(mobile, password) {
    return req({
        url: url.LOGIN,
        method: 'post',
        data: {
            mobile,
            password
        }
    })
}